package com.weiwu.weiwustore.pojo;

import com.weiwu.weiwustore.utils.DateUtil;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class RoleVo {
    private Integer id;
    private String rolename;
    private String description;
    private String meuns;
    private String createtime;
    private String updatetime;
    public RoleVo(){}
    public RoleVo(Integer id,String rolename, String description,String meuns, Date createtime,Date updatetime){
        this.id = id;
        this.rolename = rolename;
        this.description = description;
        this.meuns = meuns;
        this.createtime = DateUtil.getSimpleTime(createtime);
        this.updatetime = DateUtil.getSimpleTime(updatetime);
    }
}
